package a;

public class Animal {
    public String name;

    public Animal(String name) {
        this.name = name;
    }

    public void test() {
        System.out.println("大家好我的名字是"+this.name);
    }
}
